package com.framework.entity.sys;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述: 银行卡信息
 *
 * @author ck
 * @date 2018/9/17 16:11
 */
@Data
@ApiModel(value = "SysBank")
public class SysBank {
	/**
	 * 主键id
	 */
	@TableId
	@ApiModelProperty(hidden = true)
	private Long bankId;
	/**
	 * 银行卡名称
	 */
	@ApiModelProperty(value = "银行卡名称", required = true,hidden = true)
	private String	bankName;
	/**
	 * 银行卡号
	 */
	@ApiModelProperty(value = "银行卡号", required = true)
	private String bankNo;
	/**
	 * 代理商id
	 */
	@ApiModelProperty(hidden = true)
	private	Long agentId;
	/**
	 * 持卡人姓名
	 */
	@ApiModelProperty(value = "持卡人姓名", required = true)
	private String cardName;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码", required = true)
	private	String phone;
	/**
	 * 录入时间
	 */
	@ApiModelProperty(hidden = true)
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createDate;
	/**
	 * 银行code
	 */
	@ApiModelProperty(hidden = true)
	private String bankCode;
	/**
	 * 银行行号
	 */
	@ApiModelProperty(value = "银行行号（是否必填根据渠道代付定义）")
	private String lineNo;
	/**
	 * 是否默认 1：是 2：否
	 */
	@ApiModelProperty(value = "是否默认 1：是 2：否", required = true)
	private Integer isDefault;
	/**
	 * 是否显示 1：显示 2：否
	 */
	@ApiModelProperty(hidden = true)
	private Integer isShow;

	/**
	 * 渠道id
	 */
	private Long deptId;
	/**
	 * 银行卡logoid
	 */
	private Integer bankLogoId;

	/**
	 * 优付代付是否签约 1：是 0否 2:待签约成功
	 */
	private Integer isReserved;
	/**
	 * 签约的银行卡号
	 */
	private String reservedBankNo;

	/**
	 * 银行卡logourl
	 */
	@TableField(exist =false)
	private String bankLogoUrl;



}
